import Layout from '@/layout'
// 角色管理，动态路由，根据用户权限不一样不同的显示
const settingRouter = {
  path: '/setting',
  component: Layout,
  children: [
    {
      name: 'setting',
      path: '', // 二级路由为空，作为默认渲染路由
      component: () => import ('@/views/setting/index'),
      meta: { title: '角色管理', icon: 'setting' }
    }
  ]
}

export default settingRouter
